package com.ssrs.dev.service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.ssrs.dev.mapper.DeviceMapper;
import com.ssrs.dev.model.Device;
import com.ssrs.dev.model.DeviceVO1;
import com.ssrs.dev.service.IDeviceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 教室设备管理：设备表 服务实现类
 * </p>
 *
 * @author 拾年之璐
 * @since 2021-05-19
 */
@Service("deviceService")
public class DeviceServiceImpl extends ServiceImpl<DeviceMapper, Device> implements IDeviceService {

    @Autowired
    private DeviceMapper deviceMapper;

    @Override
    public List<DeviceVO1> getStats01() {
        return deviceMapper.getStats01();
    }
}
